const JInquirer = require("../index");

let options3 = [
  {
    type: "folder",
    message: "请选择文件夹：",
    name: "folderName",
    default: "",
    pathType: "absolute",
    dirname: __dirname,
  },
  {
    type: "file",
    message: "请选择文件：",
    name: "fileName1",
    default: "",
    dirname: __dirname,
  },
];
let j = new JInquirer(options3);
let res = j.prompt().then((res) => {
  console.log(res);
});
